package com.ddstation.crm.institution.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * dt_health_manage_institution 健康管理机构
 * @author zhangdifeng
 * @date 2017年7月11日InstitutionEntity
 */
public class DtHealthManageInstitutionEntity implements Serializable {
	public final static long serialVersionUID = 1;

	private String id;
	private String InstitutionId;
	private String invsInstitutionId;
	private String name;
	private String shortName;
	private Integer province;
	private Integer city;
	private Integer county;
	private Object nullCounty;
	private String address; // 机构地址
	private String navAddress; // 导航地址（便于客户找到）
	private Integer dataIsolation;
	private Integer type; // 【授权状态】2：测试 0：试用1：正式
	private Integer institutionType; // 1:医疗机构 2:医生 3:科室 4:医院 5:健康管理公司 6:医药公司 7:医疗器械 8:养老院 9:康复院10：其他
	private String institutionTypeFirst; // 一级分类 详情查询字典
	private String institutionTypeSecond; // 二级分类 详情查询字典
	private Integer institutionProp; //【机构性质】1：民营营利2：民营非营利3：公立4：其他
	private String businessLicence; // 营业执照
	private Integer medicalInsuranceFixedPoint; // 【是否医保定点】1：是2：否
	private Integer examineVerifySt;
	private Date examineVerifyTm;
	private String examineVerifyComment;
	private Date occupationalLicenceEndDate;
	private String technicalOffices;//执业范围
	private String institutionAttr;//医疗机构属性(0:公立 1：民营)
	private Integer status;

	// add 检验申请项目 start
	private Integer testApplySt;
	private Date testApplyTm;
	private String testApplyComment;
	// add 检验申请项目 end

	// add 检查申请项目 start------------------
	private Integer imagingApplyOpendSt;
	// add 检查申请项目 end------------------

	// add by zhangdifeng 20180503
	private String tel;

	private String town;
	private String ownerName;
	private String ownerId;
	private String ownerIdCd;
	private String businessLicenceCd;
	private String occupationalLicence;
	private String occupationalLicenceCd;
	private String position;//经纬度
	private Integer registerDoctorId;
	private Date createTm;

	// add by yuantang 20191126
	private Integer invsInstrumentSet; // 是否需要器械消毒登记 0:不需要 >0: n天一次
	private Integer invsRoomSet; // 是否需要场所空气消毒登记 0:不需要 1:需要
	private Integer invsWasteSet; // 是否需要医废登记 0:不需要 1:需要
	private Integer invsSewageReportSet; // 是否需要医废污水检测报告 0:不需要 1:需要
	private Integer invsInstrumentReportSet; // 是否需要消毒器械检测报告 0:不需要 1:需要
	private Integer invsDisinfectantSet; // 是否需要污水余氯日常检测 0:不需要 1:需要

	private Integer underInvs; // 医疗机构是否属于卫监监管
	private Integer prescriptionInvs; // 是否对处方监管


	private Integer auditHint; // 是否提示审方结果
	private Integer invsTimeSet;	//卫监报告时间是否可设置 0:不可设置 1:可设置
	private Date occupationalLicenceStartDate;	//医疗机构职业许可证开始日期
	private String hospitalInsuranceRegion; //医疗机构所在地统筹区编码 病案首页上传时用

	private Integer invsUnit;	//医疗废弃物 1:体积(箱) 2:估重(kg)
	private String institutionIp;//专网机构IP

	/**
	 * 扩展表信息
	 */
	private DtHealthManageInstitutionInvsExpandEntity expand;

	public DtHealthManageInstitutionInvsExpandEntity getExpand() {
		return expand;
	}

	public void setExpand(DtHealthManageInstitutionInvsExpandEntity expand) {
		this.expand = expand;
	}

	/**
	 * 是否为试用期
	 * @return
	 */
	public boolean isTryoutPeriod() {
		return this.type != null && this.type == 0;
	}

	public String getInstitutionTypeFirst() {
		return institutionTypeFirst;
	}


	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getTown() {
		return town;
	}

	public void setTown(String town) {
		this.town = town;
	}

	public void setInstitutionTypeFirst(String institutionTypeFirst) {
		this.institutionTypeFirst = institutionTypeFirst;
	}

	public String getInstitutionTypeSecond() {
		return institutionTypeSecond;
	}

	public void setInstitutionTypeSecond(String institutionTypeSecond) {
		this.institutionTypeSecond = institutionTypeSecond;
	}

	public String getInstitutionAttr() {
		return institutionAttr;
	}

	public void setInstitutionAttr(String institutionAttr) {
		this.institutionAttr = institutionAttr;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getShortName() {
		return shortName;
	}
	public void setShortName(String shortName) {
		this.shortName = shortName;
	}
	public Integer getProvince() {
		return province;
	}

	public void setProvince(Integer province) {
		this.province = province;
	}

	public Integer getPrescriptionInvs() {
		return prescriptionInvs;
	}

	public void setPrescriptionInvs(Integer prescriptionInvs) {
		this.prescriptionInvs = prescriptionInvs;
	}

	public Integer getCity() {
		return city;
	}

	public void setCity(Integer city) {
		this.city = city;
	}

	public Integer getCounty() {
		return county;
	}

	public void setCounty(Integer county) {
		this.county = county;
	}

	public Object getNullCounty() {
		return nullCounty;
	}

	public void setNullCounty(Object nullCounty) {
		this.nullCounty = nullCounty;
	}

	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Integer getDataIsolation() {
		return dataIsolation;
	}
	public void setDataIsolation(Integer dataIsolation) {
		this.dataIsolation = dataIsolation;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Integer getInstitutionType() {
		return institutionType;
	}
	public void setInstitutionType(Integer institutionType) {
		this.institutionType = institutionType;
	}
	public Integer getInstitutionProp() {
		return institutionProp;
	}
	public void setInstitutionProp(Integer institutionProp) {
		this.institutionProp = institutionProp;
	}
	public String getBusinessLicence() {
		return businessLicence;
	}
	public void setBusinessLicence(String businessLicence) {
		this.businessLicence = businessLicence;
	}
	public Integer getMedicalInsuranceFixedPoint() {
		return medicalInsuranceFixedPoint;
	}
	public void setMedicalInsuranceFixedPoint(Integer medicalInsuranceFixedPoint) {
		this.medicalInsuranceFixedPoint = medicalInsuranceFixedPoint;
	}
	public Integer getExamineVerifySt() {
		return examineVerifySt;
	}
	public void setExamineVerifySt(Integer examineVerifySt) {
		this.examineVerifySt = examineVerifySt;
	}
	public String getExamineVerifyComment() {
		return examineVerifyComment;
	}
	public void setExamineVerifyComment(String examineVerifyComment) {
		this.examineVerifyComment = examineVerifyComment;
	}
	public Date getOccupationalLicenceEndDate() {
		return occupationalLicenceEndDate;
	}


	public void setOccupationalLicenceEndDate(Date occupationalLicenceEndDate) {
		this.occupationalLicenceEndDate = occupationalLicenceEndDate;
	}


	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getOwnerName() {
		return ownerName;
	}
	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}
	public String getOwnerId() {
		return ownerId;
	}
	public void setOwnerId(String ownerId) {
		this.ownerId = ownerId;
	}
	public String getOwnerIdCd() {
		return ownerIdCd;
	}
	public void setOwnerIdCd(String ownerIdCd) {
		this.ownerIdCd = ownerIdCd;
	}
	public String getBusinessLicenceCd() {
		return businessLicenceCd;
	}
	public void setBusinessLicenceCd(String businessLicenceCd) {
		this.businessLicenceCd = businessLicenceCd;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	public String getOccupationalLicence() {
		return occupationalLicence;
	}
	public void setOccupationalLicence(String occupationalLicence) {
		this.occupationalLicence = occupationalLicence;
	}
	public String getOccupationalLicenceCd() {
		return occupationalLicenceCd;
	}
	public void setOccupationalLicenceCd(String occupationalLicenceCd) {
		this.occupationalLicenceCd = occupationalLicenceCd;
	}
	public Integer getTestApplySt() {
		return testApplySt;
	}
	public void setTestApplySt(Integer testApplySt) {
		this.testApplySt = testApplySt;
	}
	public String getTestApplyComment() {
		return testApplyComment;
	}
	public void setTestApplyComment(String testApplyComment) {
		this.testApplyComment = testApplyComment;
	}
	//	public String getMode() {
//		return mode;
//	}
//	public void setMode(String mode) {
//		this.mode = mode;
//	}
	public Integer getImagingApplyOpendSt() {
		return imagingApplyOpendSt;
	}
	public void setImagingApplyOpendSt(Integer imagingApplyOpendSt) {
		this.imagingApplyOpendSt = imagingApplyOpendSt;
	}
	public String getPosition() {
		return position;
	}
	public void setPosition(String position) {
		this.position = position;
	}
	public String getNavAddress() {
		return navAddress;
	}
	public void setNavAddress(String navAddress) {
		this.navAddress = navAddress;
	}

	public Integer getRegisterDoctorId() {
		return registerDoctorId;
	}

	public void setRegisterDoctorId(Integer registerDoctorId) {
		this.registerDoctorId = registerDoctorId;
	}
	public Date getCreateTm() {
		return createTm;
	}
	public void setCreateTm(Date createTm) {
		this.createTm = createTm;
	}


	public Date getExamineVerifyTm() {
		return examineVerifyTm;
	}


	public void setExamineVerifyTm(Date examineVerifyTm) {
		this.examineVerifyTm = examineVerifyTm;
	}


	public Date getTestApplyTm() {
		return testApplyTm;
	}


	public void setTestApplyTm(Date testApplyTm) {
		this.testApplyTm = testApplyTm;
	}

	public Integer getInvsInstrumentSet() {
		return invsInstrumentSet;
	}

	public void setInvsInstrumentSet(Integer invsInstrumentSet) {
		this.invsInstrumentSet = invsInstrumentSet;
	}

	public Integer getInvsRoomSet() {
		return invsRoomSet;
	}

	public void setInvsRoomSet(Integer invsRoomSet) {
		this.invsRoomSet = invsRoomSet;
	}

	public Integer getInvsWasteSet() {
		return invsWasteSet;
	}

	public void setInvsWasteSet(Integer invsWasteSet) {
		this.invsWasteSet = invsWasteSet;
	}

	public Integer getInvsSewageReportSet() {
		return invsSewageReportSet;
	}

	public void setInvsSewageReportSet(Integer invsSewageReportSet) {
		this.invsSewageReportSet = invsSewageReportSet;
	}

	public Integer getInvsInstrumentReportSet() {
		return invsInstrumentReportSet;
	}

	public void setInvsInstrumentReportSet(Integer invsInstrumentReportSet) {
		this.invsInstrumentReportSet = invsInstrumentReportSet;
	}

	public Integer getInvsDisinfectantSet() {
		return invsDisinfectantSet;
	}

	public void setInvsDisinfectantSet(Integer invsDisinfectantSet) {
		this.invsDisinfectantSet = invsDisinfectantSet;
	}

	public Integer getInvsUnit() {
		return invsUnit;
	}

	public void setInvsUnit(Integer invsUnit) {
		this.invsUnit = invsUnit;
	}

	public Integer getUnderInvs() {
		return underInvs;
	}

	public void setUnderInvs(Integer underInvs) {
		this.underInvs = underInvs;
	}

	public String getTechnicalOffices() {
		return technicalOffices;
	}

	public void setTechnicalOffices(String technicalOffices) {
		this.technicalOffices = technicalOffices;
	}

	@Override
	public String toString() {
		return "DtHealthManageInstitutionEntity{" +
				"id='" + id + '\'' +
				", name='" + name + '\'' +
				", shortName='" + shortName + '\'' +
				", province=" + province +
				", city=" + city +
				", county=" + county +
				", nullCounty=" + nullCounty +
				", address='" + address + '\'' +
				", navAddress='" + navAddress + '\'' +
				", dataIsolation=" + dataIsolation +
				", type=" + type +
				", institutionType=" + institutionType +
				", institutionProp=" + institutionProp +
				", businessLicence='" + businessLicence + '\'' +
				", medicalInsuranceFixedPoint=" + medicalInsuranceFixedPoint +
				", examineVerifySt=" + examineVerifySt +
				", examineVerifyTm=" + examineVerifyTm +
				", examineVerifyComment='" + examineVerifyComment + '\'' +
				", occupationalLicenceEndDate=" + occupationalLicenceEndDate +
				", technicalOffices='" + technicalOffices + '\'' +
				", testApplySt=" + testApplySt +
				", testApplyTm=" + testApplyTm +
				", testApplyComment='" + testApplyComment + '\'' +
				", imagingApplyOpendSt=" + imagingApplyOpendSt +
				", tel='" + tel + '\'' +
				", ownerName='" + ownerName + '\'' +
				", ownerId='" + ownerId + '\'' +
				", ownerIdCd='" + ownerIdCd + '\'' +
				", businessLicenceCd='" + businessLicenceCd + '\'' +
				", occupationalLicence='" + occupationalLicence + '\'' +
				", occupationalLicenceCd='" + occupationalLicenceCd + '\'' +
				", position='" + position + '\'' +
				", registerDoctorId=" + registerDoctorId +
				", createTm=" + createTm +
				", invsInstrumentSet=" + invsInstrumentSet +
				", invsRoomSet=" + invsRoomSet +
				", invsWasteSet=" + invsWasteSet +
				", invsSewageReportSet=" + invsSewageReportSet +
				", invsInstrumentReportSet=" + invsInstrumentReportSet +
				", invsDisinfectantSet=" + invsDisinfectantSet +
				", underInvs=" + underInvs +
				", auditHint=" + auditHint +
				", invsTimeSet=" + invsTimeSet +
				", occupationalLicenceStartDate=" + occupationalLicenceStartDate +
				", hospitalInsuranceRegion='" + hospitalInsuranceRegion + '\'' +
				", invsUnit=" + invsUnit +
				'}';
	}

	public Integer getAuditHint() {
		return auditHint;
	}

	public void setAuditHint(Integer auditHint) {
		this.auditHint = auditHint;
	}

	public Integer getInvsTimeSet() {
		return invsTimeSet;
	}

	public void setInvsTimeSet(Integer invsTimeSet) {
		this.invsTimeSet = invsTimeSet;
	}

	public Date getOccupationalLicenceStartDate() {
		return occupationalLicenceStartDate;
	}

	public void setOccupationalLicenceStartDate(Date occupationalLicenceStartDate) {
		this.occupationalLicenceStartDate = occupationalLicenceStartDate;
	}

	public String getHospitalInsuranceRegion() {
		return hospitalInsuranceRegion;
	}

	public void setHospitalInsuranceRegion(String hospitalInsuranceRegion) {
		this.hospitalInsuranceRegion = hospitalInsuranceRegion;
	}

	public String getInstitutionIp() {
		return institutionIp;
	}

	public void setInstitutionIp(String institutionIp) {
		this.institutionIp = institutionIp;
	}

	public String getInvsInstitutionId() {
		return invsInstitutionId;
	}

	public void setInvsInstitutionId(String invsInstitutionId) {
		this.invsInstitutionId = invsInstitutionId;
	}

	public String getInstitutionId() {
		return InstitutionId;
	}

	public void setInstitutionId(String institutionId) {
		InstitutionId = institutionId;
	}
}